﻿using HDS.Model;
using HDS.Model.Entity.Master;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace HDS.IService.Master
{
    public interface IHotelService
    {
        Task<Hotel> GetHotel(int hotelId);

        Task<DataPagingModel<Hotel>> GetHotelList(int pageIndex, int pageSize, Expression<Func<Hotel, bool>> whereExpression, string whereSql);

        Task<int> UpdateHotel(Hotel entity);

        Task DeleteHotel(int hotelId);


        Task<HotelRoom> GetRoom(int roomId);

        Task<List<HotelRoom>> GetRoomList(int hotelId);

        Task<int> UpdateRoom(HotelRoom entity);

        Task DeleteRoom(int roomId);

        Task RestoreRoom(int roomId);
    }
}
